package com.anita.member.adapter.in.web.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * @author qiu
 * @date 2025/10/21
 * @description
 */
public record MemberUpdatePasswordRequest (
        @NotBlank(message = "原密码不能为空")
        String oldPassword,

        @NotBlank(message = "新密码不能为空")
        @Size(min = 6,  message = "密码长度必须在6位以上")
        String newPassword
){
}
